package main

import (
	"gin_app01/model"
	"gin_app01/router"
	"gin_app01/utils"
)

func main() {
	R := router.InitRouter()
	model.InitDB(utils.AppConfig.Database)
	_ = R.Run(":8080")
	defer model.DEFAULT_DB.Close()
}
